package com.sangharsh.core.algo;

import java.util.List;



public class Route<T> {
	private List<T> path;
	private int stopCount;
	private int changes;

	public Route(List<T> path, int stopCount, int changes) {
		this.path = path;
		this.stopCount = stopCount;
		this.changes = changes;
	}

	public int getChanges() {
		return changes;
	}

	public List<T> getPath() {
		return path;
	}
	public String toString(){
		return this.path.toString();
	}

	public int getStopCount() {
		return stopCount;
	}

	public void suffix(List<T> suffix) {
		this.path.addAll(suffix);
		
	}
}
